package com.th.supcom.pds.recipefee.client.service;

import java.util.List;
import java.util.Map;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.th.supcom.pds.auditprescription.client.model.PdsPrescDetailCombineModel;
import com.th.supcom.pds.common.client.model.OfficeModel;
import com.th.supcom.pds.internal.client.model.ResultModel;
import com.th.supcom.pds.sortingdrug.client.model.PdsPrescDetailInfoModel;

/**
 * 收方收费 异步接口.
 * 
 * @author 杨冲
 */
public interface RecipeFeeRpcAsync
{
    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";
    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";
    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";

    public void findExecuteOffice (PdsPrescDetailCombineModel pdsPrescDetailCombine,
                                   AsyncCallback <List <OfficeModel>> callback);

    public void findPrescDetailInfoByPrescNo (PdsPrescDetailInfoModel model,String curretnDispensary,
                                              AsyncCallback <List <PdsPrescDetailInfoModel>> callback);

    public void getPrescByPrescNoOrCardNo (Map <String, Object> map, AsyncCallback <ResultModel> callback);


    public void modifyWindow (List <PdsPrescDetailInfoModel> prescList,String requestIp, Long window, AsyncCallback <Void> callback);

    public void confrimRecipe (List <PdsPrescDetailInfoModel> prescList,
                                 List <PdsPrescDetailInfoModel> prescdetailList, Map <String, Object> map,
                                 AsyncCallback <Map <String, Object>> callback);

    public void verifyStock (String deptNo, String phamcode, AsyncCallback <Integer> callback);
}